/** 页面顶部导航菜单 **/
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

.section_space {
  padding: 2rem 0;
  /*margin:3rem 0;*/
}

@media (max-width: 767.98px) {
  /* Bootstrap's sm breakpoint */
  .navbar-collapse.show {
    position: sticky;
    top: 0;
    height: calc(
      100vh - 56px
    ); /* Adjust the height as per your navbar height */
    overflow-y: auto;
  }
}

/* 顶部菜单 */
.fixed_menu {
  background-color: transparent;
  position: fixed;
  top: 0;
  /*width: 90%;*/
  width: 100%;
  z-index: 1000;
  /*border: 1px solid #e5e5e5;*/
  /*border-bottom: 1px solid #e5e5e5;*/
  transition: background-color 0.5s, color 0.3s;
  /*height: 75px;*/
  /*line-height: 75px;*/
}

@media only screen and (min-width: 992px) {
  /* Bootstrap's sm breakpoint */
  /* 使下拉菜单在父元素（.dropdown）上悬停时显示 */
  .dropdown:hover .dropdown-menu {
    display: block;
  }

  /* 可选：为了避免菜单在鼠标离开后立即消失，可以给子菜单添加一个延时隐藏效果 */
  .dropdown-menu {
    transition: display 0.6s;
  }
}

@media only screen and (max-width: 361px) {
  .logo-wraper {
    width: 88px;
    height: 20px;
  }

  .logo_image {
    width: 88px;
    height: 20px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.dropdown-menu.show {
  -webkit-animation: fadeIn 0.5s alternate;
  animation: fadeIn 0.5s alternate;
}

.nav-item.dropdown.dropdown-submenus {
  position: static;
}

.nav-item.dropdown.dropdown-submenus .dropdown-menu {
  top: auto;
  right: 0;
  left: 0;
  width: 100%;
}

.navbar-toggler {
  border: none;
  padding: 0;
  outline: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.dropdown-toggle::after {
  display: none;
}

.navbar-toggler .hamburger-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 50px;
  z-index: 11;
  float: right;
}

.navbar-toggler .hamburger-toggle .hamburger {
  position: absolute;
  transform: translate(-50%, -50%) rotate(0deg);
  left: 50%;
  top: 50%;
  width: 50%;
  height: 50%;
  pointer-events: none;
}

.navbar-toggler .hamburger-toggle .hamburger span {
  width: 100%;
  height: 4px;
  position: absolute;
  background: #333;
  border-radius: 2px;
  z-index: 1;
  transition: transform 0.2s cubic-bezier(0.77, 0.2, 0.05, 1),
    background 0.2s cubic-bezier(0.77, 0.2, 0.05, 1), all 0.2s ease-in-out;
  left: 0px;
}

.navbar-toggler .hamburger-toggle .hamburger span:first-child {
  top: 10%;
  transform-origin: 50% 50%;
  transform: translate(0% -50%) !important;
}

.navbar-toggler .hamburger-toggle .hamburger span:nth-child(2) {
  top: 50%;
  transform: translate(0, -50%);
}

.navbar-toggler .hamburger-toggle .hamburger span:last-child {
  left: 0px;
  top: auto;
  bottom: 10%;
  transform-origin: 50% 50%;
}

.navbar-toggler .hamburger-toggle .hamburger.active span {
  position: absolute;
  margin: 0;
}

.navbar-toggler .hamburger-toggle .hamburger.active span:first-child {
  top: 45%;
  transform: rotate(45deg);
}

.navbar-toggler .hamburger-toggle .hamburger.active span:nth-child(2) {
  left: 50%;
  width: 0px;
}

.navbar-toggler .hamburger-toggle .hamburger.active span:last-child {
  top: 45%;
  transform: rotate(-45deg);
}

.first_cate_text {
  /*border-bottom: 1px solid #023990;*/
}

.second_cate_text {
  border-bottom: 1px solid #023990;
}

.hd_link_text:hover {
  color: #023990 !important;
  border-bottom: 1px solid #023990;
}

/* 透明化菜单的边框 */
.list-group {
  border-color: transparent !important;
}

.list-group-item {
  border-color: transparent !important;
}

.navbar-white {
  background-color: white !important;
  transition: background-color 0.5s, color 0.3s;
}

.under_line {
  position: relative;
}

.under_line::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #023990;
  transform-origin: center;
  transform: translate(-50%, 0) scaleX(0);
  transition: transform 0.3s ease-in-out;
}

.under_line:hover::before {
  transform: translate(-50%, 0) scaleX(1);
}

/** move-line **/
.move-line {
  display: inline-block;
  cursor: pointer;
  position: relative;
}

.move-line::before,
.move-line::after {
  content: "";
  width: 0;
  height: 2px;
  position: absolute;
  transition: all 0.2s linear;
  background: #023990; /**#0D6EFD**/
}

.sub-move-line::before,
.sub-move-line::after {
  content: "";
  width: 2px;
  height: 0;
  position: absolute;
  transition: all 0.2s linear;
  background: #023990; /**#0D6EFD**/
}

.move-line:hover::before,
.move-line:hover::after {
  width: 100%;
}

.move-line:hover .sub-move-line::before,
.move-line:hover .sub-move-line::after {
  height: 100%;
}

.move-line::before,
.move-line::after {
  transition-delay: 0.2s;
}

.move-line .sub-move-line::before,
.move-line .sub-move-line::after {
  transition-delay: 0s;
}

.move-line::before {
  right: 0;
  top: 0;
}

.move-line::after {
  left: 0;
  bottom: 0;
}

.move-line .sub-move-line::before {
  left: 0;
  top: 0;
}

.move-line .sub-move-line::after {
  right: 0;
  bottom: 0;
}

.move-line:hover::before,
.move-line:hover::after {
  transition-delay: 0s;
}

.move-line:hover .sub-move-line::before,
.move-line:hover .sub-move-line::after {
  transition-delay: 0.2s;
}

/** common **/
.mx-100 {
  margin: 0 100px;
}

.px-100 {
  padding: 0 100px;
}

.mx-200 {
  margin: 0 200px;
}

.px-200 {
  padding: 0 200px;
}

/** 移除 a 标签的默认样式 **/
a {
  text-decoration: none;
  color: inherit;
}

/*  Reveal 绽放特效  start */
.reveal {
  position: relative;
  opacity: 0;
}

.reveal.active {
  opacity: 1;
}

.active.fade-bottom {
  animation: fade-bottom 1s ease-in;
}

.active.fade-left {
  animation: fade-left 1s ease-in;
}

.active.fade-right {
  animation: fade-right 1s ease-in;
}

@keyframes fade-bottom {
  0% {
    transform: translateY(250px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fade-left {
  0% {
    transform: translateX(-300px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fade-right {
  0% {
    transform: translateX(300px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/*  Reveal 绽放特效  end */

/** 文本长度限定 **/
.two-line-truncate {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 2;
}

.multi-line-truncate {
  max-height: 3.6em; /* 设置最大高度，3.6em 是大致的三行高度 */
  overflow: hidden;
  text-overflow: ellipsis; /* 添加省略号以表示被截断 */
  display: -webkit-box;
  -webkit-line-clamp: 3; /* 指定显示的最大行数 */
  -webkit-box-orient: vertical;
}

.one-line-truncate {
    max-height: 3.6em; /* 设置最大高度，3.6em 是大致的三行高度 */
    overflow: hidden;
    text-overflow: ellipsis; /* 添加省略号以表示被截断 */
    display: -webkit-box;
    -webkit-line-clamp: 1; /* 指定显示的最大行数 */
    -webkit-box-orient: vertical;
  }

.text-overflow-ellipsis {
  white-space: nowrap; /* 阻止文本换行 */
  overflow: hidden; /* 隐藏溢出的文本 */
  text-overflow: ellipsis; /* 使用省略号表示溢出的文本 */
  width: 100%; /* 设置容器宽度，可以根据需要调整 */
}

.lst_selected {
  background-color: #023990;
  color: #ffffff;
}

.a-max-width {
  /* display: inline-block;  */
  max-width: 700px;
  white-space: nowrap; /* 防止文本换行 */
  overflow: hidden; /* 隐藏超出容器的部分 */
  text-overflow: ellipsis; /* 显示省略号 */
}

/* 空白高度分割div */
.blank_height {
  width: 100%;
  height: 20px;
}
/** float menu start **/
.float-nav {
  position: fixed;
  right: 15px;
  bottom: 20px;
  width: 235px;
  height: 115px;
  z-index: 1066;
  background-color: transparent;
}

/** float menu end **/

/********** 全站 footer ***********/
/***************************** curve *****************************/
.curve {
  position: relative;
  /*margin: 0 auto;*/
  /*max-width: 990px;*/
  width: 100%;
  height: 400px;
}

.curve-w {
  position: absolute;
  top: 80px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  overflow: hidden;
  width: 100%;
}

.curve-w .curve-bg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 200%;
  height: 1000px;
  border-radius: 50%;
  border: 1px solid #c9e1f9;
  /*background-color: #F8F8F8;*/
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  z-index: 2;
}

.curve .curve-desc {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3; /* 设置一个比 .curve-w (.z-index: 1) 和 .curve-bg (.z-index: 2) 都高的 z-index 值 */
  color: black;
  width: 100%;
  padding: 0 100px;
}

/** footer **/
/* 隐藏初始状态下的二维码 */
.gzh_hidden {
  display: none;
  position: absolute;
  bottom: 20px; /* 图片与图标底部的距离可以根据需要调整 */
  left: 50%;
  transform: translateX(-50%); /* 水平居中 */
  z-index: 10;
}

/* 当鼠标悬停在 .wechat-icon-container 上时，显示二维码 */
.wechat-icon-container:hover .wechat-qrcode {
  display: block;
}

/* 可选：设置图标容器样式，便于定位和布局 */
.wechat-icon-container {
  position: relative;
  cursor: pointer; /* 更改为指针以提示用户可以交互 */
}

/* 重点底线 */
.bb-line {
  border-bottom: 2px solid #023990;
}

.b1-line {
  border-bottom: 1px solid #023990;
}

.bb-line-bold {
  font-weight: bold; /* 文字加粗 */
  position: relative; /* 使子元素能基于此元素进行绝对定位 */
  display: inline-block;
  padding-bottom: 20px;
}

.bb-line-bold:after {
  content: ""; /* 创建伪元素 */
  position: absolute; /* 绝对定位 */
  left: 15%; /* 左边距占20% */
  right: 15%; /* 右边距占20% */
  bottom: 0; /* 底部与父元素底部对齐 */
  height: 1px; /* 线条高度 */
  background-color: #023990; /* 线条颜色 */
}

/******* tinymce 6 *******/
.tinymce6_content_box img {
  max-width: 100%; /* Set maximum width to 100% of the parent container */
  height: auto; /* Maintain aspect ratio */
}

@media only screen and (min-width: 768px) and (max-width: 991px) {

}

@media only screen and (max-width: 767px) {
  .navbar-nav {
    /*text-align: center;*/
  }

  .navbar {
    background-color: white !important;
  }
}

@media only screen and (min-width: 361px) and (max-width: 767px) {
  .img-box {
    width: 300px;
    height: 300px;
  }
  .info_img {
    max-width: 280px;
    height: 280px;
  }
  .footer_contact_box {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media only screen and (max-width: 360px) {
    .img-box {
      width: 260px;
      height: 260px;
    }
    .info_img {
      max-width: 260px;
      height: auto;
    }
    .footer_contact_box {
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
  

.img-box {
  width: 400px;
  height: 400px;
}
.info_img {
  width: 350px;
  height: 350px;
  padding: 2px;
}
